import Vue from 'vue'

const todoread={
    state:{
        stateType:null,
        sourceType:'all',
        sourceList:[],
        classifyType:'',
        classifyList:[],
        isAcive:null,
        selectOrder:null

    },
    mutations:{
        SET_STATETYPE:(state, stateType) => {
            state.stateType = stateType
        },
        SET_SOURCETYPE:(state, sourceType) => {
            state.sourceType = sourceType
        },
        SET_SOURCELIST:(state, sourceList) => {
            state.sourceList = sourceList
        },
        SET_CLASSIFYTYPE:(state, classifyType) => {
            state.classifyType = classifyType
        },
        SET_CLASSIFYLIST:(state, classifyList) => {
            state.classifyList = classifyList
        },
        SET_ISACTIVE:(state, isAcive) => {
            state.isAcive = isAcive
        },
        SET_SELECTORDER:(state, selectOrder) => {
            state.selectOrder = selectOrder
        },
    },
    actions:{
        
    }
}
export default todoread